package model

type Post struct {
	PostId   int64  `gorm:"column:post_id;primaryKey;autoIncrement;" json:"postId"`
	PostCode string `gorm:"column:post_code;" json:"postCode"`
	PostName string `gorm:"column:post_name;" json:"postName"`
	PostSort int    `gorm:"column:post_sort;" json:"postSotr"`
	Common   `gorm:"embedded"`
}

func (Post) TableName() string {
	return "sys_post"
}
